package Models;

public class PSOLines {
    private int psoID;
    private FGIView fgi;
    private int qty;
    private boolean sold;
    private int keg;
    private DiscountCode discount;
    private double priceOverRide;
	private int qtyLeft;
    
    public int getPsoID() {
		return psoID;
	}
	public void setPsoID(int psoID) {
		this.psoID = psoID;
	}
	public FGIView getFgi() {
		return fgi;
	}
	public void setFgi(FGIView fgi) {
		this.fgi = fgi;
	}
	public int getQty() {
		return qty;
	}
	public void setQty(int qty) {
		this.qty = qty;
	}
	public boolean isSold() {
		return sold;
	}
	public void setSold(boolean sold) {
		this.sold = sold;
	}
	public int getKeg() {
		return keg;
	}
	public void setKeg(int keg) {
		this.keg = keg;
	}
	public DiscountCode getDiscount() {
		return discount;
	}
	public void setDiscount(DiscountCode discount) {
		this.discount = discount;
	}
	public double getPriceOverRide() {
		return priceOverRide;
	}
	public void setPriceOverRide(double priceOverRide) {
		this.priceOverRide = priceOverRide;
	}
	public int getQtyLeft() {
		return qtyLeft;
	}
	public void setQtyLeft(int qtyLeft) {
		this.qtyLeft = qtyLeft;
	}
	
	public int getQtyFilled(){
		return(this.getQty() - this.getQtyLeft());
	}

}
